﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace CommonLib {
	public class GameStateBase : IGameState
	{
		virtual public string StateKey => throw new System.NotImplementedException();


		virtual public void EndState(IGameState newState)
		{
			ClientBase.StateController.ChangeState(newState);
		}

		virtual public void EnterState()
		{
		}

		virtual public void StateFixedUpdate()
		{
			
		}

		public void StateLateUpdate()
		{
			
		}

		virtual public void StateUpdate()
		{
			
		}
	}
}